//
// Copyright (c) 2009 All Right Reserved
//
// vl
//
// 2009-01-01
// Contains ...
namespace LargoBase.Enums {
using System;
using LargoBase.Abstract;
/// The number of sharps or flats in the key signature.
[Serializable]
public enum TonalityKey //// This should be sbyte, but sbyte is not CLS-compliant, so we'll leave it as int
{
/// No flat defined.
None = -1,
#region Defined Keys
/// Key has no sharps or flats.
[UsedImplicitly] TonalityC = 0,
/// Key has 1 flat.
[UsedImplicitly] TonalityF = -1,
/// Key has 2 flats.
[UsedImplicitly] TonalityB = -2,
/// Key has 3 flats.
[UsedImplicitly] TonalityEB = -3,
/// Key has 4 flats.
[UsedImplicitly] TonalityAB = -4,
/// Key has 5 flats.
[UsedImplicitly] TonalityDB = -5,
/// Key has 6 flats.
[UsedImplicitly] TonalityGB = -6,
/// Key has 7 flats.
[UsedImplicitly] TonalityCB = -7,
/// Key has 1 sharp.
[UsedImplicitly] TonalityG = 1,
/// Key has 2 sharps.
[UsedImplicitly] TonalityD = 2,
/// Key has 3 sharps.
[UsedImplicitly] TonalityA = 3,
/// Key has 4 sharps.
[UsedImplicitly] TonalityE = 4,
/// Key has 5 sharps.
[UsedImplicitly] TonalityH = 5,
/// Key has 6 sharps.
[UsedImplicitly] TonalityFS = 6,
/// Key has 7 sharps.
[UsedImplicitly] TonalityCS = 7
#endregion
}
}